<ion-header-bar align-title="center" class="bar-calm" id="handerMain">
    <h1 class="title">订单详情</h1>
    <div class="return_img" ng-click="_up_return()">
        <img src="img/return_1.png" alt="">
    </div>
</ion-header-bar>
<ion-content class="has-header" id="content" style="background: #F3F3F3;bottom:44px;">
    <!--头部-->
    <div class="delivery_title">
        <div class="title_left">
            <span>等待付款</span>
            <p>逾期未付款，订单自动取消</p>
        </div>
        <div class="title_right">
            <img ng-src="myimg/cmoder6.png" alt="">
        </div>
    </div>
    <!--信息-->
    <div class="delivery_inFor">
        <div class="inFor_left">
            <img ng-src="myimg/cmoder2.png" alt="">
        </div>
        <div class="inFor_right">
            <span>{{pay.wbAddress.getuser}}</span>
            <span>{{pay.wbAddress.phone}}</span>
            <span>{{pay.wbAddress.qu}}{{pay.wbAddress.shen}}{{pay.wbAddress.shi}}{{pay.wbAddress.address}}</span>
        </div>
    </div>
    <!--支付方式-->
    <div class="pay_method">
        <ul>
            <li>支付方式</li>
            <li style="display: none">
                <img src="myimg/cmoder7.png" alt="">
                <div>
                    <span class="pay_title">微信支付</span>
                    <span>安全支付</span>
                </div>
                <img ng-src="myimg/{{weChat_yd}}" alt="" class="Choice">
                <!--//遮挡-->
                <div class="Close_elastic" ng-click="transmiss_pay(1)"></div>
            </li>
            <li>
                <img src="myimg/cmoder9.png" alt="">
                <div>
                    <span class="pay_title">
                        我的资产
                        <i>￥{{total_money}}</i>
                    </span>
                    <span >认养资金+认养收益－已消费
                    </span>
                </div>
                <img ng-src="myimg/{{overpay}}" alt="" class="Choice">
                <!--//遮挡-->
                <div class="Close_elastic" ng-click="transmiss_pay(3)"></div>
            </li>
            <li>
                <img src="myimg/cmoder8.png" alt="">
                <div>
                    <span class="pay_title" style="position: relative;left:-41px;color:#000 !important;">
                        新浪支付
                        <i>￥{{balance}}</i>
                    </span>
                    <span style="position: relative;left:-77px;font-size: 12px !important;color:#818181 !important;">存钱罐</span>
                </div>
                <img ng-src="myimg/{{sinaPay_yd}}" alt="" class="Choice">
                <!--//遮挡-->
                <div class="Close_elastic" ng-click="transmiss_pay(2)"></div>
            </li>
        </ul>
    </div>
    <!--当前产品-->
    <div class="Div_container See">
        <div>
            <div>
                <img ng-src="img/log2.png" alt="" class="logs_in">
                <span class="once_title">友牧农场</span>
            </div>
        </div>
        <div class="Settlement">
            <div class="classification" ng-repeat="payShopList in pay.orderItemList track by $index">
                <div class="order_img">
                    <img ng-src="{{payShopList.wbSaleProduct.photo_url}}" alt="">
                </div>
                <div class="order_details">
                    <h5>
                        {{payShopList.wbSaleProduct.name}}
                    </h5>
                    <h5>
                        {{payShopList.wbSaleProduct.unit}}
                    </h5>
                    <h5>
                        ￥{{payShopList.wbSaleProduct.price}}
                    </h5>
                    <span>X{{payShopList.pro_count}}</span>
                </div>
            </div>
        </div>
        <div class="order_pay">
            <span>实付：￥{{pay.price_h}} (运费 + ￥{{pay.post_remark}} 优惠券 - ￥{{pay.wbCoupon!==null?pay.wbCoupon.offer_num:'0'}})</span>
        </div>
    </div>
    <!--订单编号-->
    <div class="delivery_number">
        <span>订单编号：{{pay.order_sn}}</span>
        <span>下单时间：{{pay.addtime | date:'yyyy-MM.dd  HH:mm:ss'}}</span>
    </div>
    <div class="formin"></div>
</ion-content>
<ion-footer-bar align-title="left" class="bar-assertive delivery_forTer">
    <div class="order_okBtn">
        <div>
            <button class="order_active" ng-click="payConfirm($event)" data-orId="{{pay.order_sn}}">取消订单</button>
            <button class="order_noactive" ng-click="go_pay_wp()">立即支付</button>
        </div>
    </div>
</ion-footer-bar>
